<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\GroupGoods
 *
 * @property int $parent_id
 * @property int $goods_id
 * @property string $goods_price
 * @property int $admin_id
 * @method static \Illuminate\Database\Eloquent\Builder|GroupGoods newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|GroupGoods newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|GroupGoods query()
 * @method static \Illuminate\Database\Eloquent\Builder|GroupGoods whereAdminId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GroupGoods whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GroupGoods whereGoodsPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GroupGoods whereParentId($value)
 * @mixin \Eloquent
 */
class GroupGoods extends Model
{
    protected $table = 'group_goods';
    protected $primaryKey = 'parent_id';
    protected $fillable = ['parent_id', 'goods_id', 'goods_price', 'admin_id'];
}
